<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width,initial-scale=1.0">
		<title>加密</title>
		<style>
			html{
				height: 100%;
				background: url(IMG_3389.JPG);
				background-size: cover;
			}
			#son{
				position: absolute;
				left: 50%;
				top: 80%;
				transform: translateX(-50%) translateY(-50%);
			}
			.box{
				width: 400px;
				height: 40px;
				display: inline-block;
				text-align: center;
				padding-top: 5px:
				transition:0.5px;
				background-color: transparent;
				font-size: 2rem;
			}
			.box:hover{
				transform: scale(2);
			}
		</style>
	</head>
	<body >
		<div id="son">
			<input type="password" id="password" class="box" onclick="huiche()" placeholder="请输入密码">
			<br>
		</div>
		<script>
			function huiche(){
				document.onkeydown=function(e){
					if((e||event).keyCode==13&&document.getElementById("password").value=="20020815")
					window.location.href='audio.html'
				};
			}
		</script>
        </div>
		<a href="free.html" >免密码登录</a>
		</div>
	</body>
</html>